Removing unused codes.