Changed Manifest parser to make it easy to subclass it.