Refactor RenameProcessor to be extended by other plugins.