Allow callable defaults

Fixes #136.