Added phpdoc comments