Fix unneeded inherit