Replaced XArray with default PHP and strings with class constants.