Small tweak to the stack collection.