Added phpdoc comments.