Pumps with electric motor flange