The current behaviour lazily loads C API function/object pointers, requiring a check each time one is accessed. Instead, load them all at init.