Cosmetic changes to better mimic Datomic API