Removed remnants of old debug funcs.