Namespaces and other final cleanup for image decoding.