Include worldbox.h; add missing API qualifiers