Selects correct scheme.