Fix wrong objtype names and incomplete properties for custom types
Fix typo on KEYS constant
Fix typo on CUSTOM_TYPE constant,