that should be a free function in a nameless namespace rather than static method, it has nothing in common with ManifestHandler's functionality