Added more util API.