Adding contains helper method for relationships & fixing schemaPlugins