Added weight property to blocks for ordering.