minor code cleanup on ElecData model methods