Add XSL variable for easy access to request.
Fix findbug issue.