Refactoring, smapapi-17