Require UserAgent when required.