Initializes the extension after initial configuration and command-line option values have been applied to the context.