I don't think this needs to be defined here. Just like the PDF pages dir doesn't get defined here either. Then if that's the case, you probably only need a that.baseDir = ..., instead of a whole dirs object.