Properly implement let and require