Removed duplicate diagnostic.