Make properties an attr_reader to avoid confusion.