requires DbGateway package for 0.2 and after.