Add cleanup for mesh loaders