Add basic block events

As the block API got merged recently, I made some basic block events. Even if this PR won't get merged, it would not hurt to discuss about block events.