add deprecation notice for remove