Replace hardcoded part of ::columns method with DBConnection