Rename, fix typos, fix formatting, fix region regeneration