Designning IEnumerate interface.