Move the quality checking from the mapper to the entity