Added examples. Fixed pull-based behavior.