Fixing inheritance.