The character was there just so Gene could get Majel onto the show, just like he tried to do with her as Number One for TOS initially, and then later for Nurse Chapel. I found Lwaxana a bit annoying at first, but as time went by, I didn't mind her so much, some of the episodes were quite good...