Make this a plugin.