Actually Hitler objected to the socialist moniker. It was inserted into the name (to intentionally appeal to uninformed leftist workers) by the executive committee (the proposal was put forth by Rudolf Jung).
(Why Hitler?: The Genesis of the Nazi Reich, Mitcham, 1996)
(Why Hitler?: The Genesis of the Nazi Reich, Mitcham, 1996)