Changing spring configuration.