Finish gotoDeclaration.