More work towards prototyping the Python interface