More checks to make sure we don't debug in production