public StoredCommit readCommit(Id id) throws NotFoundException, Exception {
byte[] bytes = objects.get(id);
if (bytes != null) {
return StoredCommit.deserialize(id, new BinaryBinding(new ByteArrayInputStream(bytes)));
}
throw new NotFoundException(id.toString());
}