Corrected function names to module standard. Free callback structures recursively.