Optimized small part of AspectWeaver's constructor.
Added so necessary type safety for a caching stuff.