Fixed visibility in TableGateway::insert