Remove unneccessary code.