Fix pgcharts register, again, fix #6.