Removed TType from all methods, however still
need to remove entity-related stuff from RepositoryDef