Made collect attribute mandatory