Properly handle (non-nested) stack declarations.