Register DG quad specific free function