Changed attribute schemaversion to schemaversion from 3.9 to 4.1. Adding image attribute to type element and collecting the appropriate *config elements as children of the type element.