Added 'exclude' parameter.