some additional methods for Entity + tests