Added unsafe code everywhere in OpenRuntime