Add dependency on module text
Use function text.buffer