Re-implement commit logs