plugins and relations defined in preferences, not content. cleanup