Revert "Use push state."

This reverts commit 21896200b22d962152fd128225453a821fe94181.
Remove printfs.