Move request, account, path and method to properties of the handler.