Moved placeholder generation local.