Added 'has...Entity()' methods and exceptions