PEP8 p2p.
Adapt to use with pytential.