Added persistentMessages configuration option.