Support renaming multiple documents

Holy shit, it works now.