Use variable resolver in init