Rename 'notice' to 'warning'