Remove utility method and use api method instead.