Fixed issues with example.php.