Deleted old OnNewPath method.