Invest: New field `hook` for customization without access to the module
Initially set to false.  Example: Parameter bonus_factor for the
calculation of the bonus