Refactor like a mof