Added phpdoc section to functions.php, see #3