Added types to #have_func calls