Move address and data chunking functions to a utility class.