Add dependency on message generation
Merge pull request #23 from jonbinney/msg-dep

Add dependency on message generation