Refactor util to fdom.util.