adds support for PhpCollection handler