Exactly. Historically, wizards/magic-users, clerics, druids, illusionists, bards, paladins, rangers, and assassins have all shared the same basic spellcasting mechanic.
What differentiated them was the spell list, rate of advancement, skills, equipment, saves, attack bonuses, and other class...