Fixed embed type not being set