Added more alerts for debugging.