Clean unused code for webkit mode.