The vhost probably doesn't have to be a defined class anymore as it's very unlikely that anyone will/can specify more than one resource with it on a node. I believe I originally made that way because I wanted to be able to use it for any vhost declaration that the munkiserver needed, but it just didn't pan out.
The X-sendfile setup was tricky. Downloading and ensuring it was installed just wasn't reliable enough I found, so I opted to make it a file resource. I lost the benefit of grabbing the latest version, but I gained stability.
I welcome any suggestions and hope it helps.
-Riley