Added some PHPDoc.