Updated hash database code and its clients to use new comment feature of API