Block alternative

Added methods for a block based alternative to the delegates.

Also fixed two minor typos.