Added unregister to autoload