Move web-related utilities into their own package.