Spring Boot refactoring.