Support of RESTful controller with --rest option