Updating for PyroCMS 2.2.

Error fixes and clarifications.