Can we move these inline functions to somewhere else?
After all this is `handlers.c`