Added `content_type` condition.
Revert "A bit of debug logging added."

This reverts commit 1c77b80f0f1084cbbd6b1006b6170ddcab29c174.
v0.13. Refer to CHANGES file.