Added scopeForClass on application context