Added missing declaration of namespace Pi