Towards high-precision calculation of electron capture decays.