Added the ability to get the application extension directly without having to pass a callback.