Added backwards compatibility for shellcode generation.