Fixing errors in documentation section examples