Added more notices for debugging.