The STACK macros take care of casting to and from the designated item type