Export languageExtensions as part of the API.

Fixes #8200