Would this also mean i have to change the parent class every time i want to add/remove components from the cpp file?