Reducers

Fixes #11.