Added methods to interact with entity types and relationship types