Determinate export type dependent on other parameters. Refs #24.