Enable getting application context statically.