Move rename controller to document