Removed memory-management code that is no longer needed.
Removed useless FunctionId code and XaviStructs.h header.