Adding methods that don't require an uploaded file

And making the comments more phpdoc-y