Updated documentation for new API