Because the core API runs in a different thread to the main program, direct function calls to some classes can cause problems - especially when images must be loaded, or other non-atomic operations are involved