Add support for chooser widgets

Fixes #136
Add meaningful error message for unsupported widgets. Fixes #144