Updated to requesthooks.