Removing type from codec