Refactor some utilities in hk2-config in order to try to easily get
multiple adds in same transaction in writeback