Added documentation, and "pdict" method.