Refactoring spire interface.