Removed diagnostics stuff.