API: Set refactor.