Remove dependency on leakybuf by importing code.