Rename reference counting API

This improves consistency with the naming style of other functions
3 files changed