Clean up the code from obsolete data