better deprecation for Model and RelatedModel