We consider the hypothesis that quantum mechanics is an approximation to another, cosmological theory, accurate only for the description of subsystems of the universe. Quantum theory is then to be derived from the cosmological theory by averaging over variables which are not internal to the subsystem, which may be considered non-local hidden variables. I will explain the motivation for this view, give some examples of theories of this kind and investigate general conditions for such an approach to succeed.