Remove a function only called once