Add getOrigin() and getHost().