Re-added a dedicated listener for CouchDB

It duplicates the logic rather than extending the class to allow having
clean typehints in the future-proof class.