Removes stuff used for debugging.