pytgl: Fix callback signitures in decorators.