Utility functions for using HXT picklers.