Made entities extensible and renamed ObjectFactory.create(...) for
better static imports.