Directly querying an object for instance variables seems like a smell; should this information be exposed as a method instead?