Use plDebug, and don't need function pointers to also be references