* Forward declaration and friend class out of namespace for GCC happiness.