patch not to remove swift API.