Utilities for Datomic