Domain objects, a little less configuration