Add method for pull request state.