Model class implemented.