Remove warning: Variable access via 'name' is deprecated. Use '@name' instead.