Handle underscore in element methods as hyphens in element names