Adds rename method to Contents class

Nitpicking but `===` (still need to wrap my head about promise so slow to review)