I'll need to verify with @nielslyngsoe on this approach, as the use of lambda functions within a manifest might be a no-no!