Add gradient for svg output.
Replace the add-hoc stack by the Stack module.