Set hint for invokespec and multispec.

Means the attribute lookups go a good amount faster.