Modified doc, cleaned lir and build-lir