Removes cruft code