Adds pg dependency.