MODx Custom Resource Classes