Fixed small typo in documentation
Fixed edge case when closure has extra parameters