Added back with nogil removed from last commit.