How about a static helper function?
Get ready for some Twig
Use autoloader
Only return set parameters in collections
Handle invalid accessor keys