Do not do uncompliant hacks to make Context::buffer const. Just make it non-const.