Remove type from attributes