Tweaks to $this->sql usage in Pods class