Added pydiction support