Fixed undefined things.
Fixed undefined thing.
Merge branch 'map_refactor' of https://github.com/Cadair/sunpy into map_refactor