Enable backwards compatibility with PyCCN