Could you pass in only the axes themselves? That way you're only passing in what we use and we need to know less about the structure of the object passed in.