Resource model: need inappropriate-flag-counter field and exploitation in clients