The cube's header is now a dictionary, following sunpy convention, and the collapsing to map function now works.