Change visibility in BaseEntity