How do the currently used prophylactic agents work in migraine?

How do the currently used prophylactic agents work in migraine?