Asymptotic analysis for functional stochastic differential equations.