Beginning of consolidated plugin.