Adding existence checks.