Added some traces in the primitives and sets loading.