Make the plugin AMD friendly.