Pull requires out of methods
Remove unused require