Remove unneeded definitions