Fixed adding val/var into second param clause of primary constructor.