Fixed up BufferDefinition so new contents can be swapped in.