Allow connection for addDimension to get access to the database

This can go away.