Rolled p-io to next snapshot
Added foreach
Fixed foreach