1. Remove the headliner.
2. Remove the nuts.
3. Remove the roof carrier bracket.

4. Install in the reverse order of removal.
Rear spoiler removal/installation
MoldingMazda 6 Service Manual: Ignition switch inspection
1. Disconnect the negative battery cable.
2. Remove the column cover. (See COLUMN COVER REMOVAL/INSTALLATION)
3. Disconnect the ignition switch connectors.
4. Inspect for continuity between the ignition switch terminals using an
ohmmeter.
If not as specified, replace the ignition switch.
...