Can you give a rough example of how it would work in pseudoPython? Do developers need to sub-class this thing and then implement these methods or is this an interface?