Corrected docblock.
Fixed bug where a class' static variable is used within a closure. Fixed #37