Add some docs into the comments of bakerlib.php, v2