Better language detection.
Typo fix.