Fix bogus inheritance