Prevent panics.