Improved utility API.