Added deprecated methods to make migration easier