place 'type' not in 'attributes'