Implement envelope.