Some updates to function examples