Need to fix reference to closure class.
Add inline documentation.
Add test case.