Made _self and _code more conventional