Adding final content, stripping unneeded classes