Changed scope of the bean