implement [namespace origin] in bytecode