1. A computer-implemented method comprising: initializing an extension object configured to supplement functionality of the application program, the application program comprising one of a plurality of application programs configured to expose a set of application programming interfaces; accessing, via the application programming interfaces, a file with which the application program interacts; identifying a section of the file as a generic data type that is applicable to individual ones of the plurality of application programs; and performing an operation on the section by presenting a user interface for selecting a portion of the file, wherein the user interface is configured to allow a user to select the portion of the file and to return the selected portion of the file to the extension object for use as a binding.
1. A computer-implemented method comprising: initializing an extension object configured to supplement functionality of the application program, the application program comprising one of a plurality of application programs configured to expose a set of application programming interfaces; accessing, via the application programming interfaces, a file with which the application program interacts; identifying a section of the file as a generic data type that is applicable to individual ones of the plurality of application programs; and performing an operation on the section by presenting a user interface for selecting a portion of the file, wherein the user interface is configured to allow a user to select the portion of the file and to return the selected portion of the file to the extension object for use as a binding. 8. The method of claim 1 , wherein initializing the extension object comprises implementing an initialize delegate defined in a programming language file, wherein the initialize delegate comprises a reason parameter for defining a context in which the extension is initialized, and wherein the context comprises at least one of inserting the extension into the file or activating the extension.