Factor out M/S/A a little nicer.