DocBlock corrections and typo fixes

Signed-off-by: Graham Campbell <graham@mineuk.com>
Fixed some closure docblocks