Cleaned up pubsub hook's initialization code.
Everything works again with async loading.