Small documentation fixes

Small typos and syntax example corrections.