Extracted CommandStack from Cornerstone