Add phpdoc comments