Changed private in entity to protected