Rework cython function monitors