Convert Lookup to ApplicationContext and back!