I really don't like these instanceof checks..... Can we maybe make BytesReference impl Releaseable in general?