Remove obsoleted code.