Added metadata to exchange factory