Factor out action constructors.
Merge branch 'master' of https://github.com/kisielk/vigo