Function call interception and modification framework.