Remove the old code which is useless now.