Rewrite maps without datamaps