Implemented cleanup option for obsidian.