EMBRYO-64: only cache valid nonempty objects.