Use objects instead of arrays in CSP function

Since iterators work on Parser class, just needed to change setting
$enforece.

Simplified code a little, but removed documentation.