It might be beneficial for performance reasons to move the `#respond_to?` check out of the method definition, similar to what we do with the `#buf=` method.