Added resource attribute to default model to true