function populateProcedures(procedureList, templateName) {
    for (var i = 0; i < procedureList.length; i++) {
      var name = procedureList[i][0];
      var args = procedureList[i][1];
      // <block type="procedures_callnoreturn" gap="16">
      //   <mutation name="do something">
      //     <arg name="x"></arg>
      //   </mutation>
      // </block>
      var block = goog.dom.createDom('block');
      block.setAttribute('type', templateName);
      block.setAttribute('gap', 16);
      var mutation = goog.dom.createDom('mutation');
      mutation.setAttribute('name', name);
      block.appendChild(mutation);
      for (var t = 0; t < args.length; t++) {
        var arg = goog.dom.createDom('arg');
        arg.setAttribute('name', args[t]);
        mutation.appendChild(arg);
      }
      xmlList.push(block);
    }
  }
Construct the blocks required by the flyout for the procedure category.
@param {!Blockly.Workspace} workspace The workspace contianing procedures.
@return {!Array.<!Element>} Array of XML block elements.