Add bind method in HistoryDatabaseUtils