New interface, and other additions
New Java changes reflected in php, implemented Iterator interface