Used a constructor and allowed for uploads