[ADAM-518] Move distribution stage into a profile.