Fixed the ID factory configuration and metatype services.