add get_target_methods method