Support for REST added.