fit contributor and addLap()

when did we need to call addlap when we want to add lap inforation/contributor.
I try to create cotnributor with type MESG_TYPE_LAP, but they seem not to appear in fit file.
how this work in conjonction with addLap ?