added addStashMethods