Added attr_accessor for easy accessing.