Utility classes used by the smppapi.