Add new function case for lazy init (#777)