Added support for getting blocks