Adding abstraction function for retrieving blocks.