Added Layer renaming support.