package fn is in pallet.actions, not pallet.action