Remove leading, trailing underscores