More work on RestfulModel