Added support for block-based subviews.

Thanks for dictating the changes!