Added link attributes support to define links from type defenitions.
Added support for static method calling after the link has been activated. This would allow code manipulation of the link attributes collection and generation.