Set klass in scope on scope creation