removeCommonPrefix operations should only accept a S3Prefix