Improved request parameter detection.