Delete unused codes