[minor] Added a public api method