Change type of props.expert

Fixes  #247