Add typeclass for MonadLogging.