Use custom getter name when adding object to Realm

Fixes #699