Merge "Allow unsafe operations in unsafe functions in generated code." into udc-qpr-dev