text: His knowledge of Malay customs and language , broad-ranging interests in zoology , botany , and cartography , as well as a humanitarian vision for the region 's future , made him a vital factor in Britain 's expanding role in Malay affairs .
  
  ###
  
  He 's widely credited for limiting Britain 's role in Malay affairs due to a series of social gaffs .