Extract Commit class