I have made it more streamlined to add functions to the integer class. If it is a binary operation, simply create the built-in code (param at 4($sp) is self, param at ($sp) is the other), and add the name to the list of attrs in Encoder.generateBuiltins, right before the first for-loop.