Removing superflous validateEnvelopeNode method, compacting parseEnvelope logic.