Drop unused generic function and its methods.