Add funcs for compiling with a reader