Move yaml require to the file that's using it