Use the macros for this, i.e. `Z_TYPE_P(param->parameter)`