Call static functions statically in API