Could be replaced by `attr_reader :amount`.