Clean up intern symbols function