Fixed reference to functions in old elements.php by switching them to listing.php and getElement() function. NOT TESTED.