Remove unncessary code.