Add missing analytics functions #555