Provide garbage collection helper functions.