Resource model implementation