Generalized metadata load callback