Fix extraction of action methods