Changed attribute name: compound to type.