Fix visibility of version attribute