More detailed interface on the Python side, still very rough..