Changed toString() of BaseEntity.