Added support for runtime types. Added support for void type.