add MethodTable class for profiling.