Used deprecated decorator