Move SourceCodeStream impl to cpp file.