Removed call to undefined function in the plugin's constructor.