Yea, setting these attributes this way saves a bunch of mostly repeated class definitions for the different object resources.