Removed some diag code.