Convert to a plugin.