Added getters and setters to the entity.