Added 'is.na' temporarily.