track what type of thing is done by each stage
show stage type in trace output
Merge pull request #6 from dgrijalva/stage_types

Stage types