Add a small hack to account for Python implementations.