Add lastOutput property.