Updated documentation to comply with new SDK API.