A bit more control over model validation