Document API better.