(Xronos) NewLimGen, Fixing casting on load and inlining of
procedures/functions with reference seems correct. Removing method
addToLastDefined