Fix an issue where event handlers are not reflected; Makere sure class names are unique