Fixed all issues with method chaining.