add dprecated warning for OC.Router