Implemented closure creation, i.e. linking upvalues.