Added some phpdoc comments