Added support for log only to Writer monad.