Added the new functionality for passing callbacks and example describing how it is done (and extended)