Remvoing superfluous variables from magnetostatics.