Fixed integration problems
Fixed warning about unused variable
Added method for wrapping arbitrary enumeration code in NSEnumerator