Added a basic example demonstrating the concept. Fixes #6