Improve OpenMP interface