Support for custom model binders

Fixes #2