Only transforming specific query types when accessing models.