Rearranged order to make it more inline with a request lifecycle