Use a pointer to kernel parameters instead of a reference