Added deprecated message and change alias syntax