Pass parameters to child classes.

Personally I find this easier to follow what variables affect a class.