With debug messages removed.