Introspection / debugging helpers