Working copy of Scarf with phpdoc comments added.