Module API: pass wrapped results object to a callback

Resolves #222