Fix rehash/c_rehash doc and behavior.