Add reference type stack and static region.