Fixed method chaining in statements