Tweaks to doc and state transition debug logs.