Capture deprecation messages from API