Added view factory resolution.