Added a check for renaming reserved keys