Added sql.val() and switched to JIT handling of columns