Updated documentation to reflect function signature change