Added ability to select a block type