Changed attribute schemaversion to schemaversion from 4.1 to 4.2. Created new ec2config element to collect ec2* attributes. The ec2config element is a child of the type element.