Use slots for triple/resource/missing.
Merge pull request #5 from ProjetPP/use_slots

Use slots for triple/resource/missing.