Change BaseEntity properties from private to protected