Added deprecated decorator