Why are these set as attributes, rather than constructor args?