+ __debugInfo support and resilience
add some casters