[PR] Allow customization of object type names

Fixes #16