Addition of rtti for dynamic_cast calls