Make compile and compileString private
Update documentation