Revamp some Optimizer internals and ensure that we only use PNG optimizers for now.