Added unbind function for buffers.