Added support for explain().  Fixes #494.
Result of code review - now returning Map from explain()