extend protection to static method calls, interfaces and traits