Delete obsolete library code