Allow templates to access request.