Added deprecated error to init()