> <bikeshedding> > Perhaps we could add a debug message here for catch the unhandled types.. > </bikeshedding> This shouldn't happen. The previous checks should eliminate all objects that don't have properties. The only possibility I can think of is if we add properties to a new kind of object and forget to include it in the switch... In this case, we'll still return -EINVAL, which is good.