That allows me to override existing functions but I can't change their visibility, nor can I see how to add a new function. I can put an extension method on (kotlin rather than mockk) but that doesn't have access to anything private or internal in the object.