Better use $this->getConfig() to avoid duplicating necessary code (for error checks)