Updated location to replace enclosing class for anon classes