remove lib function declarations