Added phpdoc annotations