Added API section to docs