Clean up TFM_CustomListener.