Added new debugging modes.