Add Before and After blocks

Events to trigger setup and teardown operations