Added defaults when dealing with language to prevent runtime errors