Extracted default implementation for committing entries.
Fix typo