Removed call to $this->package which is deprecated