Add docs for the builder API

Change-Id: Ie5ba0c290e1f7a2315941672cbec0517332daf01