Added blocks as alternative to delegate methods

Great tool, Thanks!
I added blocks as alternative to delegate methods.