Remove everything not needed