Common utils for Stacker.