Delete unused codes.