Fix Codec class ordering setting coming from static "order" property
use AUTOWIRE_BY_NAME for autowiring Codec classes