Use self.commits to access commits