Use the model - not whatever the fuck that class was.
Merge branch '3.0/develop' of github.com:rawartists/PyroCMS into 3.0/develop