Scheduler as explicit arg

Fixes #13.