Add dependency to generated messages