Implements the rename operation.

Methods