helpers for working with resources, models, and services