Update to use the new 'alignment' API.