Removes some debug cruft