Use unnamed namespace instead of static keyword
Add missing ABC_TRACE_FUNC() statements