Remove type attribute