Implement add, commit - instead of put, encoded