Added support for blokout2 example.

Added the set and release capture functions that blokout2 uses.