Switched to using template instead of block.