Replaced language code string with Language enum