ByteCodeExecutor improvements