Add object wrapper for class_exists
Update XML after classes have been generated