deletes old function from namespace exports