ca915ae590
Motivation: There is a goto statement above the current position of initialize dynamicMethods, and dynamicMethods is used after the goto which might cause undefined behavior. Modifications: Initialize dynamicMehtods at the top. Result: No more undefined behavior.