Made ExposeTextTemplatingEngineHostService and Optional work on all supported R# versions.