Start writing 'stack apply' logic.