Delete some redundant code.