I changed the signature here. This function will always be called with a request, a locale and a product now.