Allow underscores and hyphens in static mode.