Rewrite maps