Updated documentation to reflect changes to API