Added deprecated methods, with warning