Updated the examples to work with simulator objects