Refactor the framework intergrated with Spring.