GH-1 - eliminate generators in the examples to eliminate the requirement for PHP >=5.5. Should now work with PHP >= 5.3