Added reasons field to module dependencies, closes #766.