Add the bits to the web-fragment logic