Remove check of $this->state if is null since it's not needed