"""Logic modules for payload preprocessing."""