Remove things that are not needed