Use generic result-to-option conversion.
Fix spelling.