Capture params

See Issue #168 for discussion.