Fixed silly mistake in has_method