Add nogil qualifier to all functions below this line. They do not depend on the Python interpreter.