get_all_s4_methods function

Extract all S4 methods