Code review PR

It doesn't matter since we invoke it with reflection, but I'm not sure I would make this `private[sql]` since it is kind of a public interface.