Moved codecs to separate module.