Wasn't initializing dev pointer in BufferContents constructor