Added require as it got removed from rest handler