pothos-library: dtype tweaks, docs, unit tests