Fixed passing class to check if a method is bindable.