Do not assign a variable it if is never intended to be used
Avoid defining a reader method only to redefine it 2 lines down
Make sure version has is set to nil and never accessed without being defined