Updated documentation to reflect recent API changes