First attempt at DataEnvelope logic.