Allow hash parameter to bindActions

Closes #51