Allow passing some of the modernize functions to the plugin