Fixed PHP 5.3.3 bug
Fixed API Doc
Preventing foreach errors