Allow share type to be configured in config.yml.