Fixed compatibility with weblocks 0.9.x