I wonder why are you not using application.configuration()?