Added support for example checker2.

Additional functions added to support checker2 example.