Refactoring APIs.