Adds the allowBlocks property to the view