Added deprecated messages to avoid silent errors when using renamed methods. See #2883.