Updated for Piwik 2.2.2