We can't always rely on other parts of the code been loaded first. We need to declare dependencies so that they are always present. I just ran into this problem in my dev environment.