[Pulsar] Added Haddock module header and some selective function comments.