It seams to work without BaseEntity