Updating for PyroCMS 2.2

All syntax changes.