Added possibility to scan "this" assembly
Fixed automatic registration of generic type definitions.