Fixed horrific inheriting madness.