Support for eloquent accessors

Fixes #21