Fixing constructors in dummy and php caches