See discussion in  #145