Reworked Component and Monster classes to mimic the old code.