Added Entity.isEmpty and Entity.equals abstract members