Function addGoToDeclarationHandler