0.7.4: Separate stack() logic.