Added support for method chaining