Fixed child classes

Child classes no longer override the parent class variables.