Issue #325 - Changing the global API variable