Extension method to expose rewriting commits.