Added rename() method.