Fixed custom function example syntax. Fixes #1.