Added basic debug dump support
Improoving speed of delegate wrapper creation