restrict types