made modelToResource declarative for Practice