extract all actions in methods