Added rename() support.