Using $this->config is bad practice.

I'm lazy now because I don't have a proper editor. Replace all $this->config with $this->getConfig() yourself and delete the public $config line.