Replacing self:: with $this->

Allows php child classes to properly reference extended functions.