Fixed Spring ApplicationContext implementation.