Added methods to the private API of the app delegate