Use lazy loading for useref