Add comments about mutex needed for TypeBases and BaseWithDict