Remove some code causing "require" errors.