Do not include synaptic sums over variables in the equations object of Synapses.
Fix issues around the recording of subexpressions with StateMonitor