Added pydiction stuff.