UIApplication hacks for extensions