Fix function ref.