Switch to using astutil library.