Improved example a bit.

Used an example of registerDumb and predefined functions.