[DOC] Add two functions of every gateway