Adding in support for named columns. Taking different schemas into account.