Added helper method for block rendering.