Added deprecated warning.