Changed from delete to remove to be consistent.