REFACTOR: Use exp for gen-doc