Move require into rare method