Updated docs for better API usage style.