Use delete instead of remove.