Refactoring not gate.