Fixing loading of Application.