Optimize imports and generate main logger package.
Deprecated assert fix.
Test annotations with import.
Remove logger property loader as instance variable in logger impl.
Reuse code in abstract filter class.