Added $data attribute to RESTParams