Added restful class.