Remove serializable. The BaseEntity is now serializable so it is not needed here now.