Remove erased routines from library