Changed architecture for getting stack frames.