The invention generally relates to aminopyridines and methods of use thereof. In certain embodiments, the invention provides an aminopyridine or a pharmaceutically-acceptable salt thereof, in which the aminopyridine or the salt thereof includes a cleavable functional group that substantially prevents extra-hepatic hydrolysis.