Note in the docs that BrowserPolicy can only be used in server code