An update to the Ministerial Code set out that ministers have responsibilities that mean sometimes they will 'attend functions and events ... including those where hospitality may be offered.'