Remove useless inheritance