Get iteration over objects working