Needed to load functions.php to use flatten() in table class