Allow behaviour mode to be set as a configuration option.