Moved 'require's to top