Fix for syntax issues with chained requires