Why is hash needed as a separate parameter? Can't we get it from the request object?