Add some methods/tests for EntityClass.