Using method chaining instead of attributes