Why are you importing functions directly? Is the plugin system being used?