Address comments from #280 on f3b5d76.

* Invalid return type should invoke 'continue' in the outer loop.
* Use static typing for 'Provider' and 'Lazy' types.
Merge pull request #296 from square/jw/module-adapter-tweaks

Address comments from #280 on f3b5d76.