Remove unnecessary semicolon
Fix typos in the documentation
Add missing documentation to SharedArrayBasedDirectedNode