Performance improvements by avoiding DecodingContext when possible