Give APIs a __package global

Lets APIs use their package correctly.