PHPNG compatibility.