Move stacking to metadata and don't modify data.

Close #868.
As said, out of scope, but I dislike the get naming usage here