Fix for calling getInstance before ApplicationContext is available