Yield the bar on construction if a block is given.