Update the getFunctionAttributes example to reflect changes.