Make linking methods not gate-specific