extends mod_rest