add text about getType and expand text about defineLanguage