ENH: rename function now has errors keyword