Remove useless code due to new theme.