Fixed lack of iostream inclusion.