Add deprecation notice and moved error.