Remove duplicate model and disallow duplicate base orms in different contexts.