Added support for old version

- Added deprecated annotation there