Starts fixing the duplicate() and remap() methods.