Fix bytecode masking
Add closure-based instructions