reflection: added createEntity()