Remove duplicate attr_accessor. Closes #1352