Extended to support exclude array