Add another deprecation helper method.