flate: remove rt functions from the public api