Minor API improvement.