Changed proxy functions to builder functions to reduce lines inside Electrodynamics class