Remove useless inherit