REF: remove obsolete code.