Implemented a factory for machine descriptors.