Move registering objects to constructor (#3753)
Move registering objects to constructor (#3753)


google/blockly,google/blockly,mark-friedman/blockly,rachel-fenichel/blockly,mark-friedman/blockly,rachel-fenichel/blockly,google/blockly,rachel-fenichel/blockly,mark-friedman/blockly,google/blockly,google/blockly,mark-friedman/blockly,rachel-fenichel/blockly,rachel-fenichel/blockly,rachel-fenichel/blockly,google/blockly,google/blockly,rachel-fenichel/blockly,mark-friedman/blockly,mark-friedman/blockly